package com.ruoyi.web.controller.app.controller;

import com.ruoyi.framework.web.exception.base.XResult;
import com.ruoyi.web.controller.app.service.AppAboutUsService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import javafx.scene.chart.ValueAxis;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName AppAboutUsController
 * @Description TODO
 * @Author tyc@yanyu
 * @Date 2018/12/12 0012 18:10
 **/
@RequestMapping("/app/aboutUs")
@RestController
@Api(tags = "关于我们")
public class AppAboutUsController {

    @Autowired
    private AppAboutUsService appAboutUsService;

    @RequestMapping(value = "queryAboutUs",method = RequestMethod.POST)
    @ApiOperation(value = "关于我们",notes = "关于我们")
    public XResult queryAboutUs(){
        return new XResult("操作成功",appAboutUsService.queryAboutUs());
    }
}
